import ajax from '@/utils/ajax'

export default {
    doHello1() {
        return ajax.get("/api-m/hello1");
    },
    doHello2() {
        return ajax.get("/api-m/hello2");
    },
    doHello3(data) {
        return ajax.upload("/api-f/files/upload",data);
    },
    doHello3(data,uploadProgress) {
        return ajax.upload("/api-f/files/upload",data, false, uploadProgress);
    },
    doHello33(data) {
        return ajax.post("/test/map/param",data);
    },
    doHello333(data) {
        return ajax.post("/test/map/param/body",data);
    }

}